<div  class="buildStart" style="    width: 500px;margin: 0 auto;">
    <div class="modal-header " style="padding: 15px;border:0;">
        <!--<button aria-hidden="true" data-dismiss="modal" class="close" type="button" ng-click="cancel()">×</button>-->
        <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>


        <h4 class="modal-title">开始构建</h4>

    </div>

    <div class="modal-body overflowScoll" style="min-height:100px;    padding-top: 40px;">

        <div class="form-group col-sm-12 col-xs-12" style="margin-bottom:25px" ng-hide="isManual" >
            <div class="col-sm-3 col-xs-3" >
                <label for="text" style="float: right">版本选择：</label>
            </div>
            <div class="col-sm-6 col-xs-6" style="padding: 0">
                <select ng-model="sub.version" class="form-control" ng-options="version for version in versionOptions" id="text">
                </select>
            </div>
            <div class="clearfix"></div>
        </div>

        <div class="form-group col-sm-12 col-xs-12" style="margin-bottom:25px" ng-hide="!isManual">
            <div class="col-sm-3 col-xs-3" >
                <label for="whURL" style="float: right">版本选择：</label>
            </div>
            <div class="col-sm-6 col-xs-6" style="padding: 0">
                <input id="whURL" type="text" ng-required="string" ng-model="sub.version"  class="form-control ng-pristine ng-untouched ng-empty ng-valid ng-valid-required" aria-invalid="false">
            </div>
            <div class="clearfix"></div>
        </div>
        <div class="form-group col-sm-12 col-xs-12" style="margin:0" ng-hide="!isManual">
            <div class="col-sm-3 col-xs-3" >
                <label  style="float: right">分支类型：</label>
            </div>
            <div layout-gt-sm="row" ng-if="(type=='git' || type=='svn')" class="col-sm-6">
                <md-radio-group  layout="row" ng-model="sub.branchtype" layout-wrap style="margin-bottom: 18px;" >

                    <md-radio-button value="tag" class="md-primary">Tag</md-radio-button>
                    <md-radio-button value="branch" class="md-primary">Branch</md-radio-button>

                </md-radio-group>
            </div>

        </div>



    </div>

    <div class="modal-footer" style="padding:0 0 15px 0;text-align: center">

        <button class="btn btn-info" type="button" ng-click="ok()">确 定</button>
    </div>
</div>